package com.book.service;

import com.book.core.domain.ReaderRestrictions;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author hongmizfb
* @description 针对表【reader_restrictions(读者限制表)】的数据库操作Service
* @createDate 2025-05-08 22:54:38
*/
public interface ReaderRestrictionsService extends IService<ReaderRestrictions> {

    /**检查读者是否可以借阅图书
     * @param readerId 读者id
     * @return boolean
     */
    boolean checkCanBorrowByReaderId(Long readerId);
}
